package OceanWorld1;

import javax.print.DocFlavor;

/**
 * Created by pc on 3/29/16.
 */
public abstract class Fish implements Swimmer{
    protected String name;
    public Fish(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
    @Override
    public abstract void swim();

}
